home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts14-03
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: Help with SPAWN Commands
- Date: Sat, 16 Mar 96 09:07:53 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4ie0dr$pc1@sam.inforamp.net>
- References: <4i5cm6$bmr@news.nstn.ca>
- NNTP-Posting-Host: ts14-03.tor.inforamp.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <4i5cm6$bmr@news.nstn.ca>, dave@fox.nstn.ns.ca (Dave Nugent) wrote:
- >Can someone please give me a simple example of how to
- >use a spawn command in TC using 1 executable & 1
- >argument i.e. I want to do something like..
- >SPAWN VOCPLAY.EXE VOCFILE.VOC
- >I will always know the parameters I am passing. I can get a single
- >command to send but when I try to use any parameters I'm not
- >having any luck..
- >Thks.
-
- Try this.
- result = spawnl(P_WAIT, "VOCPLAY.EXE", "VOCPLAY.EXE", "VOCFILE.VOC", NULL);
-
- I hope it helps.
-
- Agrivar
-